package com.pms.service;

import java.util.List;

import com.pms.dao.MessageDao;
import com.pms.entity.Message;

public class MessageService {
	
	MessageDao mesDao = new MessageDao();
	public void save(Message mes){
		mesDao.save(mes);
	}
	
	public List<Message> findMes(){
		return mesDao.findMes();
	}
}
